package cn.jslancer.webx.router;

import cn.jslancer.webx.handler.Handler;
import io.netty.handler.codec.http.HttpMethod;

/**
 * @author jslancer
 * @date 2018/7/29 21:14
 */
public interface Route {

    Route method(HttpMethod method);

    Route path(String path);

    Route handler(Handler<RoutingContext> handler);

    Route order(int order);


//    Router router();
}
